//
//  CCHorizontalEquidistanceFlowLayout.h
//  CCFoundation
//
//  Created by zjh on 2021/9/24.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@protocol CCHorizontalEquidistanceFlowLayoutDelegate <NSObject>
@required
- (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)layout sizeForItemAtIndexPath:(NSIndexPath *)indexPath;
@end

@interface CCHorizontalEquidistanceFlowLayout : UICollectionViewFlowLayout
@property (nonatomic, weak) id<CCHorizontalEquidistanceFlowLayoutDelegate> delegate;
@end

NS_ASSUME_NONNULL_END
